﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Web.Mvc;

namespace MyHelper
{
    public class RenderingContext
    {
        public TextWriter Writer { get; private set; }
        public ViewContext ViewContext { get; private set; }
        public ViewEngineCollection ViewEngines { get; private set; }

        public RenderingContext(TextWriter writer, ViewContext viewContext, ViewEngineCollection viewEngines)
        {
            Writer = writer;
            ViewContext = viewContext;
            ViewEngines = viewEngines;
        }
    }
}
